<template>
  <div id="loading">
    <el-row>
      <el-col :span="18" :offset="3">
        <el-table :data="datas" style="width: 100%">
          <el-table-column type="index" width="50"></el-table-column>
          <el-table-column prop="name" label="属性名称"></el-table-column>
          <el-table-column prop="desc" label="描述"></el-table-column>
          <el-table-column prop="type" label="类型"></el-table-column>
        </el-table>
      </el-col>
    </el-row>
    <el-row>
      <el-col :span="18" :offset="3">
        <el-card class="box-card">
          <dve-loading style="height:200px" color-text="#fff">默认...</dve-loading>
        </el-card>
      </el-col>
    </el-row>
  </div>
</template>

<script>
export default {
  data() {
    return {
      datas: [
        {
          name: "color1",
          desc: "颜色1",
          type: "String"
        },
        {
          name: "color2",
          desc: "颜色2",
          type: "String"
        },
        {
          name: "color-text",
          desc: "字体颜色",
          type: "String"
        },
        {
          name: "color-change-interval",
          desc: "颜色变化速度(s)",
          type: "String(1s)|Number(1)"
        },
        {
          name: "speed-round",
          desc: "动画速度(s)",
          type: "String(1s)|Number(1)"
        }
      ]
    };
  }
};
</script>

<style >
#loading {
  height: 100%;
}
.box-card {
  background-color: #333;
}
.el-card__body {
  background-color: #333;
}
.el-col {
  height: 100%;
}
.el-row {
  margin-bottom: 20px;
}
</style>